label {
  margin: 3px 0;
  font-size: 90%;
  font-weight: bolder;
  display: block;
}

label.checkbox, label.yes_no {
  display: inline;
  /*position: static;
  top: -2px;
  margin-left: 5px;*/
  position: relative;
  top: -2px;
  cursor: pointer;
}

* html label.checkbox, * html label.yes_no {
  top: 1px;
}

label.yes_no {
  font-weight: normal;
}

span.label_required {
  color: red;
}

input, textarea, select {
  border: 1px solid #ccc;
  padding: 3px;
  font-family: verdana, arial, helvetica, sans-serif;
  font-size: 12px;
  background: white;
}

select {
  padding: 1px;
}

input:hover, textarea:hover, select:hover {
  border: 1px solid deepskyblue;
}

input:focus, textarea:focus, select:focus {
  border: 1px solid black;
}

fieldset {
  margin: 10px 0;
  padding: 10px;
  padding-top: 5px;
  border: 1px solid #ccc;
}

fieldset .inputfs{
  width: 530px;
}

fieldset legend {
  font-size: 120%;
  font-weight: bolder;
}

/*input { width: 200px; }*/
input.short { width: 50px; }
input.medium { width: 150px; }
input.long { width: 97%; /*99%;*/ }
input.title { width: 530px; }

textarea.textfield {
	height: 15px !important;
	overflow: hidden;
}

input.checkbox, input.yes_no {
  border: 0;
  width: auto;
  background: transparent;
}

legend label.checkbox {
  font-weight: bolder;
}

textarea.long {
  width: 67%; /* 99% */
  height: 60px;
}

textarea.huge {
  width: 97%; /* 99% */
  height: 180px;
}

textarea.short {
  width: 360px;
  height: 70px;
}

textarea.shortTags {
  width: 200px;
  height: 16px;
}

textarea.comment {
  width: 488px;
  height: 150px;
}

textarea.editor {
  width: 97%;/*99%;*/
  height: 300px;
}

button.submit {
  margin-top: 10px;
}

span.required {
  color: red;
  font-size: 90%;
}

form div.formBlock {
  margin: 10px 0 15px 0px;
  padding: 0 0 0 10px;
}

form div.formBlock label {
  margin-top: 0;
  padding-top: 0;
}

#formErrors {
  background: red;
  color: white;
  padding: 5px 10px;
}

#formErrors ul li {
  font-size: 90%;
}

/** Options block, best to put it into fieldset **/

.objectOption {
  margin-top: 5px;
}

.objectOption .optionLabel {
  float: left;
  display: block;
  width: 140px;
}

.objectOption .optionLabel label {
  margin: 0;
  padding: 0;
}

.objectOption div.optionControl {
  margin-left: 140px;
}

.objectOption div.optionDesc {
  clear: left;
  font-size: 10px;
  padding: 0 5px 5px 5px;
  color: #333;
}

.fieldDescription {
  clear: left;
  font-size: 10px;
  padding: 0 5px 5px 5px;
  color: #333;
}

.textedit {
	width: 100%;
	height: 100%;
	padding: 0px;
	margin: 0px;
	position: absolute;
	border: 0px !important;
}

/** Permissions **/
.permissionWrapper {
	padding: 20px;
}
	
.permissionHeader {
	margin: 10px 20px;
	border-bottom: 1px solid #AAAAAA;
}

.permissionHeader a {
	margin-left: 10px;
}

.permissionHeader span {
	margin-left: 10px;
}

.permissionMore {
	margin: 10px 100px;
}

.permissionMore td {
	padding: 2px 7px;
}

.checkBoxListItem {
	width: 150px;
	height: 20px;
	padding-left: 10px;
  	float: left;
  	overflow: hidden;
}

a.button {
	padding: 3px ;
	border: 1px solid #CCC;
    font-family: verdana,arial,helvetica,sans-serif;
    font-size: 12px;
	color: #000 ;
	font-weight: normal ;
}


/** QUICK FORMS **/
#quick-form {
	padding: 10px ;
	border: 1px solid #CCC;
	box-shadow: 0 0 16px 0 #CCC;
	background: white ;
	display:none;
	position:absolute;
	min-height: 15px ;
	min-width: 30px;
	color: #666 ;
	z-index: 99999;
	
}

#quick-form .close {
    background: url("../../images/12x12/close-icon-1.png") 0 0 ;
    cursor: pointer;
    height: 12px;
    position: absolute;
    right: 5px;
    top: 5px;
    width: 12px;
}

#quick-form .close:hover {
    background-position: 0 36px;
}

#quick-form div.action {
	margin-top: 2px;
}

#quick-form a.more {
	margin: 2px 0 0 5px;
	float: right;
}

#quick-form input {
	border-radius: 2px;
	padding: 3px 5px ;
	margin-bottom: 3px;
	border: 1px solid #CCC;
	clear: both ;
}

#quick-form input[type=text], #quick-form input[type=email] {
	width:95%;
}

#quick-form select {
	clear: both ;
}

#quick-form .field {
	margin-bottom: 0 ;
}	

#quick-form .access-data {	
	padding: 0 ;
}	

/** QUICK FORMS CONFIG**/
#quick-form-config {
	padding: 10px ;
	border: 1px solid #CCC;
	box-shadow: 0 0 16px 0 #CCC;
	background: white ;
	display:none;
	position:absolute;
	min-height: 15px ;
	min-width: 30px;
	color: #666 ;
	z-index: 99999;
	
}

#quick-form-config .close {
    background: url("../../images/12x12/close-icon-1.png") 0 0 ;
    cursor: pointer;
    height: 12px;
    position: absolute;
    right: 5px;
    top: 5px;
    width: 12px;
}

#quick-form-config .close:hover {
    background-position: 0 36px;
}

#quick-form-config a.more  {
	margin: 10px 0 0 5px;
	float: right;
}

#quick-form-config input  {
	border-radius: 2px;
	padding: 3px 5px ;
	margin-bottom: 3px;
	border: 1px solid #CCC;
	clear: both ;
}

#quick-form-config select {
	clear: both ;
}

#quick-form-config  .field {
	margin-bottom: 0 ;
}	

#quick-form-config .access-data {	
	padding: 0 ;
}	

.access-data {
	padding: 10px ;
}
.access-data label.checkbox, .access-data input.checkbox {
	float: left ;	 
	clear: none !important;
}
.access-data .password, .access-data .repeat {
	float:left; 
	margin-right: 10px ;
}
.access-data .password input, .access-data .repeat input {
	width: 90px ;
}
.access-data label.checkbox {
	margin-right: 5px;
	margin-top: 2px;  		
}

input.field-error{
	box-shadow: 0px 0px 2px 1px #FF0000;
}

div.field {
	min-height: 25px ;
}

div.field-error-msg {
	color: red; 
	font-size: 10px ;
}

div.add-person-form div.field label {
	width: 100px;
	float: left;
}

div.non-registered-person-form div.field label {
	margin-right: 4px;
	float: left;
	width: auto;
}

div.non-registered-person-form select {
	width: 300px;
	float: right;	
}

div.non-registered-person-form div.field input {
	float: right;
}

div.add-person-form div.field label.checkbox {
	width: auto;
}